package GUI;

import java.awt.Font;

import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;

import com.jgoodies.forms.factories.DefaultComponentFactory;

public class requestFreeze_GUI extends JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JComboBox reqNum;
	private JButton btnSubmit;
	private JButton btnCancel;
	
	public requestFreeze_GUI(){
		setLayout(null);
		
		JLabel lblDetermineStageDuration = DefaultComponentFactory.getInstance().createTitle("Freeze request");
		lblDetermineStageDuration.setIcon(new ImageIcon(DetermineStageDuration_GUI.class.getResource("/Picture/Wait-icon.png")));
		lblDetermineStageDuration.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblDetermineStageDuration.setBounds(10, 24, 335, 128);
		add(lblDetermineStageDuration);
		
		JLabel lblReqNum = DefaultComponentFactory.getInstance().createLabel("Choose request number:");
		lblReqNum.setFont(new Font("Arial", Font.BOLD, 12));
		lblReqNum.setBounds(10, 250, 174, 10);
		add(lblReqNum);
		
		reqNum = new JComboBox();
		reqNum.setBounds(171, 243, 180, 27);
		add(reqNum);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		btnCancel.setBounds(10, 461, 135, 47);
		add(btnCancel);
		
		btnSubmit = new JButton("Submit");
		btnSubmit.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/Ok-icon.png")));
		btnSubmit.setBounds(305, 461, 135, 47);
		add(btnSubmit);
	}

	public JComboBox getReqNum() {
		return reqNum;
	}

	public void setReqNum(JComboBox reqNum) {
		this.reqNum = reqNum;
	}

	public JButton getBtnSubmit() {
		return btnSubmit;
	}

	public void setBtnSubmit(JButton btnSubmit) {
		this.btnSubmit = btnSubmit;
	}

	public JButton getBtnCancel() {
		return btnCancel;
	}

	public void setBtnCancel(JButton btnCancel) {
		this.btnCancel = btnCancel;
	}
	

}
